home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir24 / aprs60.zip / CDROM.TXT < prev    next >
Text File  |  1994-09-28  |  10KB  |  153 lines

  1. CDROM.txt 6.0          HOW TO BUILD APRS MAPS FROM THE USGS CD ROM
  2.  
  3.  
  4. JUST BECAUSE I CAN NOW MAKE MAPS FROM THE USGS 2,000,000 SCALE CD ROM, DO NOT
  5. GIVE UP DRAWING MAPS BY HAND.  THE 2,000,000 SCALE CD IS ONLY GOOD FOR 64 MILE
  6. MAPS AND THEY DONT EVEN HAVE AS MUCH DETAIL AS A STATE HIGHWAY MAP.  ALSO
  7. IT STILL TAKES A LOT OF MANUAL EFFORT TO REDUCE THE INITIAL 5 MBYTES OF
  8. USGS DATA DOWN TO A 15K APRS MAP!  IT TAKES ME AT MORE THAN 4 HOURS PER MAP! 
  9. I PLAN ON EVENTUALLY DOING THE TOP 20 CITIES.  IF YOU WANT A SPECIAL ONE OF
  10. YOUR AREA, SEND $$$ or convince me it is in the general best interest of
  11. all HAMS.  THAT ALONE SHOULD KEEP YOU INTERESTED IN DOING YOUR OWN.  HI HI
  12.  
  13. There are three problems with the USGS data base that causes excessive points
  14. in an APRS map.  First, line segments begin and end at EACH intersection.  For
  15. am interstate, for example, you end up with dozens of short road segments
  16. wasting 3 point pairs per exit.  Second, these short segments are not always
  17. consecutive in the file, making it extremely time consuming to try to join
  18. them.  Third, the USGS data guarantees a point every 1/3 mile whether it is
  19. needed or not.  A 10 mile long straight road is stored as 30 points in USGS
  20. vice 2 points in APRS.  Here is a sumary of the process used to get it down
  21. to size:
  22.  
  23. 1.  Use USGS XTRACT.EXE program to extract the CD ROM data in the GRAPHIC
  24.     format for your area from one of the dozen or so major USGS areas.  Then
  25.     select up to 6 files for extraction onto your HARD disk, one for each of
  26.     the data types, BOUNDARIES, ROADS, WATER BODIES, STREAMS, RAILROADS, and
  27.     HYPSOGRAPHY (continental divide).  These files will take about 5 MBytes.
  28.     To save HD space, and also to end up with the minimum of points, you will
  29.     probably only use the ROADS, WATERBODIES, and STREAMS files.  Note the
  30.     filename assigned by XTRACT.
  31.  
  32. 2.  Run MAPFIX.BAS program and load the best existing APRS map that covers
  33.     the desired area.  This map is only used to help you locate the area of
  34.     interest.  Next, move the cursor to the center of interest and select
  35.     a SCALE using the BOUNDARY (B) command.  This command will show you the
  36.     maximum map possible for a given scale in Points/per degree.  I have found
  37.     600 to be about right.  450 in sparse states and 300 in UTAH and NEW Mex.
  38.     If you use any less, to get larger maps, you will end up with far too many
  39.     points.  I used 450 for the SouthCarolina map, and it took me 6 hours to
  40.     get the resulting 3000 points down below 1500!  In the East, I used 900
  41.     for a 35 mile map around Philidelphia.  Making maps any smaller is probably
  42.     not worth the effort, since there will be so few roads in it..
  43.  
  44. 3.  When you have the B command set to the desired number of Pixels-per-degree,
  45.     press the alt-U key.  MAPFIX will allow you to round the ORIGIN values, to
  46.     reasonable nearly whole numbers or fractions of a degree so that later
  47.     manual operations with a map and ruler will have round numbers to deal
  48.     with.
  49.  
  50. 4.  Next APRS asks you for the exact path to the XTRACTed USGS data.  This path
  51.     should include the filename up to the first (_) underline separator.  THen
  52.     MAPFIX asks for the type of file, such as RD, ST, WB, etc.  MAPFIX
  53.     will then scan the entire indicated file for all points within the selected
  54.     border.  While converting the points to APRS format, MAPFIX will also
  55.     compare the slope of each new point with the previous point and ignore
  56.     the point if it has approximately the same slope (within 1.5)  The total
  57.     number of points will be from 2000 to 4000.
  58.  
  59. 4.  Next MAPFIX has a SMOOTHER command which will run another slope comparison
  60.     process.  You can select the SMOOTHER factor.  A factor of 1 will only
  61.     throw out points that are exactly the same slope (few if any).  A factor of
  62.     1.5 (best) will throw out points whose slope differs by less than 1.5.
  63.     Bigger values will throw out  more points (usually including some necessary
  64.     ones).  To test the smoothing algorithm, run the TEST SMOOTHER command which
  65.     will mark every point that would be eliminated with a red dot, and every
  66.     point that will be kept with a yellow dot; but without actually eliminating
  67.     any points.  Look at the map closely and see if you can accept the decisions
  68.     of the SMOOTHER.  Select your chosen factor and run SMOOTHER. (alt-S)
  69.  
  70. 5.  Now you have the smallest APRS map that can be done automatically.  Move
  71.     the MAP POINTER to the beginning FEATURE using the RESET command and
  72.     use the gray +/- keys to cycle through EVERY point in the file.  Use the
  73.     alt-D key to delete all unnecessary points.  Look for complete duplicates
  74.     of some lines too.  This should get you down to below 2000 or so.
  75.  
  76. 6.  Save the file.  Load it into a text editor and start at the beginning of
  77.     the file.  Look at the beginning and end of every line segment.  If the
  78.     points are the same, eliminate the 0,0; color,LineName; and the duplicate
  79.     point.  Be sure to check the color, and only concatonate roads of the
  80.     same type.  (MAPFIX will now do this step automatically with the JOIN
  81.     command).
  82.   
  83. 7.  Next, use MAPFIX to do step 5 again.  Look at intersections where you have
  84.     joined two line segments.  If the road goes straight through the
  85.     intersection, then the intersection point can be deleted.
  86.  
  87. 8.  If you still have too many points, go through the TEXT editor again and
  88.     use the SEARCH feature to search the file for the beginning and end points
  89.     of every line.  Each time you find a match, move the points around and
  90.     concatonate the line segments.  This is laborous, and only eliminates
  91.     one point per process, but can be useful in congested areas, where many
  92.     nearby line segments only have two or three lines anyway.
  93.    
  94.  
  95. 9.  Notice that you only have one category of features so far (usually roads). 
  96.     Unless you require county lines I recommend that you ignore them.  The
  97.     USGS BOUNDARIES file contains even more points than the ROADS file!  AND
  98.     the SMOOTHER routine does not work well, because property lines are very
  99.     jagged, unlike smooth curves in roads.  The same thing goes for WATER
  100.     BODIES and STREAMS.
  101.  
  102. 10. To allow you to add some detail from these other USGS files, MAPFIX has
  103.     the USGS OVERLAY feature which will overlay the USGS data on the APRS map
  104.     without doing anything.  Then you can use the MAPFIX NEW-FEATURE and ADD
  105.     commands to draw APRS features over the top of these temporary points.
  106.     The philosopy here is that 96% of amateur interest is on roads, and you
  107.     can sure burn up points on waterways and county lines.  For rivers, about
  108.     the only points I use are where the water goes under a bridge.  Most folks
  109.     have no idea where a river is out in the boonies (and could care less).
  110.     Of course, if you are making a map for boats with GPS, then start the
  111.     process with the WATERBODIES file and add just enough roads for them to
  112.     find the boat ramps..
  113.        You will first need to overlay on the 64 mile scale to see where things
  114.     are, but then zoom into the 8 mile scale at least and do the overlay again
  115.     to get enough resolution for drawing a particular feature.  You can use the
  116.     NEW, ADD and MOVE commands, but any other commands will redraw the map and
  117.     wipe-out the overlay.  I have added the Ctrl-R command to toggle the map
  118.     REDRAW process on and off.  This may help you to add lines without destroying
  119.     the USGS overlay.  You can do the overlay again and again. 
  120.  
  121. WARNING!:  NEVER do a second ALT-U USGS BUILD, because it will clear memory
  122.     and start from scratch.
  123.  
  124.  
  125. CAUTION:  Do not expect too much from this CD ROM.  ALthough the 2,000,000:1
  126.     USGS database seems to have resolution down to 1/3 rd of a mile, remember
  127.     that that 1/3rd of a mile was actually 1/100th of an inch on the original
  128.     map!  Your 64 mile section was only a two inch square!!!!!  AND THE DATA
  129.     WAS PROBABLY DERIVED BY A HIGH SCHOOL SUMMER STUDENT using a mouse!
  130.      
  131.       I have found this data to be very crude, and although the maps lines
  132.     look smooth, you are getting about the same quality as if you were
  133.     looking at a state highway map through a magnifying glass!  If you want
  134.     good detail, use MAPFIX and a digitizer on a much better original map,
  135.     such as a 100,000:1 or even 24,000:1 (which is the standard USGS 7.5
  136.     minute map).  There you can get down to your driveway!
  137.    
  138.  
  139. FUTURE MAPFIX with USGS 100,000:1 DETAIL CD ROMS
  140.  
  141.     FORGET IT!  W7KKE has made an attempt at it, and just a few square mile
  142.     area, generates thousands of points.  The disjointedness of the resulting
  143.     line segments are even worse than the 2,000,000 data, and he says it takes
  144.     days to generate just each type of feature!  Then you have to combine these
  145.     features.  There is no way this will EVER be competitive with the 2 hours
  146.     or so that it takes to digitize excellent data from a paper copy of a
  147.     100,000 or 24,000 map.  The problem is, that getting the paper maps by
  148.     mail, takes weeks.  If you need a special map, send me the paper and from
  149.     $80 to $150 per map!  Dont forget, that you can still do it yourself with
  150.     a pencil and ruler in only about double that amount of time, and once
  151.     you have done it, you can modify your map at any time!
  152.  
  153.